#include <stdio.h>

int inputAge, legalAge;

void ageChecker();
int candleBlower();

int main(int argc, char ** argv)
{
    ageChecker();
    candleBlower();
    return 0;
}

void ageChecker()
{
    printf("What age are you? \n");
    scanf("%d", &inputAge);

    legalAge = 18;
    if(inputAge > legalAge)
    {
        printf("You are over %d - you can legally drink alcohol! \n", legalAge);
    }
    else
    {
        printf("You are under %d - no booze for you my lad! \n", legalAge);
    }
}
int candleBlower()
{
    printf("Blowing out birthday candles! \n");
 
    int i=0;   
    for(i=1; i<=inputAge; i++)
    {
        printf("%d \n", i);
    }

    return 0;
}

